;;; init-python.el --- Configuration for python programming -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(with-eval-after-load 'python
  (require 'lsp-pyright)
  (add-hook 'python-mode-hook #'lsp)
  (setq python-ts-mode-hook python-mode-hook)

  (define-key inferior-python-mode-map (kbd "C-l") #'comint-clear-buffer))

(provide 'init-python)
;;; init-python.el ends here
